import mockjs from 'mockjs';

export default {
  'GET /api/daas/dvas/v1/product/info/getProductAmountInfo': mockjs.mock({
    code: '0000',
    message: 'success',
    'result|2': [
      {
        approveAmount: '@float(1,5000,1,2)',
        capitalAuditingAmount: null,
        creditEndDate: null,
        hadLoanAmount: '@float(1,5000,1,2)',
        iconUrl:
          'http://daas-prod.oss-cn-hangzhou.aliyuncs.com/product/introduct_photo/quickPay.png?OSSAccessKeyId=LTAI5t6KfuMgdRgH1Fv8ryR4&Expires=1784539564&Signature=x4fpMkLW1%2FvoVW49loblaPNm7Vw%3D',
        loanNum: '@natural(1,30)',
        overdueAmount: '@float(1,5000,1,2)',
        pendingCount: '@natural(1,10)',
        pendingRefuseAmount: '@natural(1,15)',
        productCode: 'quickPay',
        productName: `@pick(['e快付','f快付'])`,
        refundAmount: null,
        repaymentAmount: '@float(1,5000,1,2)',
        residualCreditAmount: null,
        sellerNum: '@natural(1,30)',
        startEndDate: null,
      },
    ],
  }),
};
